package cn.edu.sdju.wanglo1911.team10.dao;

import java.util.List;

import cn.edu.sdju.wanglo1911.team10.po.Book;
import cn.edu.sdju.wanglo1911.team10.po.QueryOption;

public interface BookDao {
	Book getBookById(String id);
	List<Book> getAllBooks();
	List<Book> searchBooks(QueryOption query);
	List<Book> getLimitBooks(int pageSize);
	List<Book> advanceQuery(QueryOption option);
	Integer getTotalQueryNumber(QueryOption option);
	void insertBook(Book book);
	void deleteBookByIds(List<String> ids);
	void updateBook(Book book);
}
